using System;
using System.Collections.Generic;
using System.ServiceModel.Configuration;
using System.Text;

namespace Sinacor.Infra.UI.Security.Services.Configuration
{
    /// <summary>
    /// Represents the client authentication endpoint behavior
    /// extension configuration element.
    /// </summary>
    public class SinacorClientBehaviorExtensionElement : BehaviorExtensionElement
    {
        #region Properties

        /// <summary>
        /// Gets the type of behavior.
        /// </summary>
        public override Type BehaviorType
        {
            get { return typeof(SinacorClientEndPointBehavior); }
        }

        #endregion

        #region Protected Methods

        /// <summary>
        /// Cria um EndPointBehavior customizado
        /// </summary>
        /// <returns></returns>
        protected override object CreateBehavior()
        {
            return new SinacorClientEndPointBehavior();
        }

        #endregion
    }
}
